package com.jz.jingying.mapper.sqlServer;

import com.jz.jingying.bean.TProviderbaseinfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jz.jingying.bean.TProviderregister;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zyl
 * @since 2019-03-19
 */
public interface TProviderbaseinfoMapper extends BaseMapper<TProviderbaseinfo> {
    @Select("SELECT COUNT(*) FROM T_PROVIDERBASEINFO ")
   Integer  selectCountProviderInfo();
    List<TProviderbaseinfo> selectProviderInfo(@Param("pageSize") int pageSize,@Param("currentPage") int currentPage);
    List<TProviderbaseinfo> getProviderBaseInfo(TProviderbaseinfo providerBaseInfo);
    void  addProviderBaseInfo(TProviderbaseinfo providerBaseInfo);
    void  updateProviderBaseInfo(TProviderbaseinfo providerBaseInfo);
    String getMaxIcNo();
    List<TProviderbaseinfo>  getJSR();

    List<TProviderregister> getProviderRegister(TProviderregister providerRegister);
}
